home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Utilities / modal-dialog-sample ƒ / common.h < prev    next >
Text File  |  1991-10-26  |  285b  |  14 lines

  1. /*
  2. **    Project    dialog example
  3. **    Module    common.h
  4. **    Author    Bernie Wieser ©1991
  5. **    Date    10/26/91
  6. **
  7. **    Purpose
  8. **        Common defines.
  9. **
  10. */
  11.  
  12. #define NIL ((void *)0)
  13. #define isletter(c) (((c >= 'a') && (c <= 'z')) || ((c >= 'A') && (c <= 'Z')))
  14. #define isnumber(c) ((c >= '0') && (c <= '9'))